home *** CD-ROM | disk | FTP | other *** search
/ Queensland Science Project eChemistry / Queensland Science Project eChemistry (ISBN 9781740818636).iso / ictToolKit / ict / skills12.js < prev    next >
Text File  |  2003-05-21  |  4KB  |  51 lines

  1. <!-- 
  2. function showICTsection12(no)
  3. {
  4.   MM_showHideLayers('sec12_nav','','show');   
  5.   if (no ==1) {
  6.      currentContent = "sec12_1";
  7.      MM_showHideLayers('sec12_1','','show','sec12_2','','hide','sec12_3','','hide','sec12_4','','hide','sec12_5','','hide','sec12_6','','hide','sec12_7','','hide','sec12_8','','hide','sec12_9','','hide','sec12_10','','hide','sec12_11','','hide'); 
  8.   }
  9.   else if (no ==2)  {
  10.      currentContent = "sec12_2";
  11.      MM_showHideLayers('sec12_1','','hide','sec12_2','','show','sec12_3','','hide','sec12_4','','hide','sec12_5','','hide','sec12_6','','hide','sec12_7','','hide','sec12_8','','hide','sec12_9','','hide','sec12_10','','hide','sec12_11','','hide'); 
  12.   }
  13.   else if (no ==3)  {   
  14.      currentContent = "sec12_3";
  15.      MM_showHideLayers('sec12_1','','hide','sec12_2','','hide','sec12_3','','show','sec12_4','','hide','sec12_5','','hide','sec12_6','','hide','sec12_7','','hide','sec12_8','','hide','sec12_9','','hide','sec12_10','','hide','sec12_11','','hide'); 
  16.   }
  17.   else if (no ==4)  {
  18.      currentContent = "sec12_4";
  19.      MM_showHideLayers('sec12_1','','hide','sec12_2','','hide','sec12_3','','hide','sec12_4','','show','sec12_5','','hide','sec12_6','','hide','sec12_7','','hide','sec12_8','','hide','sec12_9','','hide','sec12_10','','hide','sec12_11','','hide'); 
  20.   }
  21.   else if (no ==5)  {
  22.      currentContent = "sec12_5";
  23.      MM_showHideLayers('sec12_1','','hide','sec12_2','','hide','sec12_3','','hide','sec12_4','','hide','sec12_5','','show','sec12_6','','hide','sec12_7','','hide','sec12_8','','hide','sec12_9','','hide','sec12_10','','hide','sec12_11','','hide'); 
  24.   }
  25.   else if (no ==6)  {
  26.      currentContent = "sec12_6";
  27.      MM_showHideLayers('sec12_1','','hide','sec12_2','','hide','sec12_3','','hide','sec12_4','','hide','sec12_5','','hide','sec12_6','','show','sec12_7','','hide','sec12_8','','hide','sec12_9','','hide','sec12_10','','hide','sec12_11','','hide'); 
  28.   }
  29.   else if (no ==7)  {
  30.      currentContent = "sec12_7"; 
  31.      MM_showHideLayers('sec12_1','','hide','sec12_2','','hide','sec12_3','','hide','sec12_4','','hide','sec12_5','','hide','sec12_6','','hide','sec12_7','','show','sec12_8','','hide','sec12_9','','hide','sec12_10','','hide','sec12_11','','hide'); 
  32.   }
  33.   else if (no ==8)  {
  34.      currentContent = "sec12_8";
  35.      MM_showHideLayers('sec12_1','','hide','sec12_2','','hide','sec12_3','','hide','sec12_4','','hide','sec12_5','','hide','sec12_6','','hide','sec12_7','','hide','sec12_8','','show','sec12_9','','hide','sec12_10','','hide','sec12_11','','hide'); 
  36.   }
  37.   else if (no ==9)  {
  38.      currentContent = "sec12_9";
  39.      MM_showHideLayers('sec12_1','','hide','sec12_2','','hide','sec12_3','','hide','sec12_4','','hide','sec12_5','','hide','sec12_6','','hide','sec12_7','','hide','sec12_8','','hide','sec12_9','','show','sec12_10','','hide','sec12_11','','hide'); 
  40.   }
  41.   else if (no ==10)  {
  42.      currentContent = "sec12_10";
  43.      MM_showHideLayers('sec12_1','','hide','sec12_2','','hide','sec12_3','','hide','sec12_4','','hide','sec12_5','','hide','sec12_6','','hide','sec12_7','','hide','sec12_8','','hide','sec12_9','','hide','sec12_10','','show','sec12_11','','hide'); 
  44.   } 
  45.   else if (no ==11)  {
  46.      currentContent = "sec12_11";
  47.      MM_showHideLayers('sec12_1','','hide','sec12_2','','hide','sec12_3','','hide','sec12_4','','hide','sec12_5','','hide','sec12_6','','hide','sec12_7','','hide','sec12_8','','hide','sec12_9','','hide','sec12_10','','hide','sec12_11','','show'); 
  48.   }   
  49.   
  50. }
  51. //-->